﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PictureEdit.ascx.cs" Inherits="controls_admin_PictureEdit" %>
<div class="box">
    <!-- box / title -->
    <div class="title">
        <h5>
            Cập nhật ảnh</h5>
    </div>
    <!-- end box / title -->
    <div id="divMessage" runat="server">
    </div>
    <div class="form">
        <div class="fields">
            <div class="field  field-first">
                <div class="label">
                    <label for="input-small">
                        Tên ảnh:
                    </label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtTitle" runat="server" CssClass="required medium" MaxLength="500" />
                    <div runat="server" id="NOTE_TITLE" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Chọn đường dẫn:
                    </label>
                </div>
                <div class="input">
                    <asp:FileUpload ID="fulAdv" runat="server" CssClass="file" />
                    <br />
                    <div id="imgAdv" runat="server" class="image" />
                    <div runat="server" id="NOTE_URL" class="note">
                    </div>
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Hoặc link trực tiếp:
                    </label>
                </div>
                <div class="input">
                    <asp:TextBox ID="txtDirectLink" runat="server" CssClass="required medium" MaxLength="500" />
                    <div class="note">
                        Có dạng: http://digiweb.vn/photo.jpg
                    </div>
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-medium">
                        Gallery</label>
                </div>
                <div class="input">
                    <asp:ListBox ID="lbxCategories" runat="server" SelectionMode="Multiple" Width="300px"
                        AppendDataBoundItems="true" Height="250px" />
                    <div runat="server" id="NOTE_CATEGORY" class="note" />
                </div>
            </div>
            <div class="field">
                <div class="label">
                    <label for="input-small">
                        Hiển thị trang chủ:
                    </label>
                </div>
                <div class="input">
                    <asp:CheckBox ID="chbDisplay" runat="server" Checked="true" />
                    <div runat="server" id="NOTE_DISPLAY" class="note" />
                </div>
            </div>
            <div class="buttons">
                <div class="highlight">
                    <asp:Button ID="btnSubmit" runat="server" Text="Đồng ý" OnClick="btnSubmit_Click" />
                </div>
            </div>
        </div>
    </div>
</div>
